<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::TLSDataAccumulator&lt; T &gt; Class Template Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">TLSDataAccumulator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="../../dc/dc3/classcv_1_1TLSDataAccumulator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::TLSDataAccumulator&lt; T &gt; Class Template Reference<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a> &raquo; <a class="el" href="../../db/de0/group__core__utils.html">Utility and system functions and macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>TLS data accumulator with gathering methods.  
 <a href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#details">More...</a></p>

<p><code>#include &lt;opencv2/core/utils/tls.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::TLSDataAccumulator&lt; T &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../dc/d6e/classcv_1_1TLSDataAccumulator.png" usemap="#cv::TLSDataAccumulator_3C_20T_20_3E_map" alt=""/>
  <map id="cv::TLSDataAccumulator_3C_20T_20_3E_map" name="cv::TLSDataAccumulator_3C_20T_20_3E_map">
<area href="../../d9/db0/classcv_1_1TLSData.html" title="Simple TLS data class. " alt="cv::TLSData&lt; T &gt;" shape="rect" coords="0,56,182,80"/>
<area href="../../df/d21/classcv_1_1TLSDataContainer.html" alt="cv::TLSDataContainer" shape="rect" coords="0,0,182,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a301bbde7e15b617b722fb344183734df"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#a301bbde7e15b617b722fb344183734df">TLSDataAccumulator</a> ()</td></tr>
<tr class="separator:a301bbde7e15b617b722fb344183734df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae14fd5735f3280daeef7e1d6ae6c533"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#aae14fd5735f3280daeef7e1d6ae6c533">~TLSDataAccumulator</a> ()</td></tr>
<tr class="separator:aae14fd5735f3280daeef7e1d6ae6c533"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fe56df89fa57f6e7c9becf6d15a3454"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#a3fe56df89fa57f6e7c9becf6d15a3454">cleanup</a> ()</td></tr>
<tr class="memdesc:a3fe56df89fa57f6e7c9becf6d15a3454"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release associated thread data.  <a href="#a3fe56df89fa57f6e7c9becf6d15a3454">More...</a><br /></td></tr>
<tr class="separator:a3fe56df89fa57f6e7c9becf6d15a3454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80211de7cf66b22d5408cbe873f7ffe2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#a80211de7cf66b22d5408cbe873f7ffe2">cleanupDetachedData</a> ()</td></tr>
<tr class="memdesc:a80211de7cf66b22d5408cbe873f7ffe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release associated thread data returned by <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#aa40ccce3dca12ada46d0f02d99866690" title="Get and detach data from all threads. ">detachData()</a> call.  <a href="#a80211de7cf66b22d5408cbe873f7ffe2">More...</a><br /></td></tr>
<tr class="separator:a80211de7cf66b22d5408cbe873f7ffe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa40ccce3dca12ada46d0f02d99866690"><td class="memItemLeft" align="right" valign="top">std::vector&lt; T * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#aa40ccce3dca12ada46d0f02d99866690">detachData</a> ()</td></tr>
<tr class="memdesc:aa40ccce3dca12ada46d0f02d99866690"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get and detach data from all threads.  <a href="#aa40ccce3dca12ada46d0f02d99866690">More...</a><br /></td></tr>
<tr class="separator:aa40ccce3dca12ada46d0f02d99866690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b5d6a81bfbf9135c75babed35ad68ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#a1b5d6a81bfbf9135c75babed35ad68ff">gather</a> (std::vector&lt; T *&gt; &amp;data) const</td></tr>
<tr class="memdesc:a1b5d6a81bfbf9135c75babed35ad68ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get data from all threads.  <a href="#a1b5d6a81bfbf9135c75babed35ad68ff">More...</a><br /></td></tr>
<tr class="separator:a1b5d6a81bfbf9135c75babed35ad68ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e2204675be100726e6088d8e34214a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#aa3e2204675be100726e6088d8e34214a">release</a> ()</td></tr>
<tr class="memdesc:aa3e2204675be100726e6088d8e34214a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release associated thread data and free TLS key.  <a href="#aa3e2204675be100726e6088d8e34214a">More...</a><br /></td></tr>
<tr class="separator:aa3e2204675be100726e6088d8e34214a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcv_1_1TLSData"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1TLSData')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d9/db0/classcv_1_1TLSData.html">cv::TLSData&lt; T &gt;</a></td></tr>
<tr class="memitem:ac945ff66d0653b82b928fa03d2e955cc inherit pub_methods_classcv_1_1TLSData"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db0/classcv_1_1TLSData.html#ac945ff66d0653b82b928fa03d2e955cc">TLSData</a> ()</td></tr>
<tr class="separator:ac945ff66d0653b82b928fa03d2e955cc inherit pub_methods_classcv_1_1TLSData"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf906e246fce05cef51afb7213d944da inherit pub_methods_classcv_1_1TLSData"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db0/classcv_1_1TLSData.html#aaf906e246fce05cef51afb7213d944da">~TLSData</a> ()</td></tr>
<tr class="separator:aaf906e246fce05cef51afb7213d944da inherit pub_methods_classcv_1_1TLSData"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02c27b7fb89eed095708c588af79ff1f inherit pub_methods_classcv_1_1TLSData"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db0/classcv_1_1TLSData.html#a02c27b7fb89eed095708c588af79ff1f">cleanup</a> ()</td></tr>
<tr class="memdesc:a02c27b7fb89eed095708c588af79ff1f inherit pub_methods_classcv_1_1TLSData"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release associated thread data.  <a href="../../d9/db0/classcv_1_1TLSData.html#a02c27b7fb89eed095708c588af79ff1f">More...</a><br /></td></tr>
<tr class="separator:a02c27b7fb89eed095708c588af79ff1f inherit pub_methods_classcv_1_1TLSData"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2314048543cb22e35188d0638c2b029b inherit pub_methods_classcv_1_1TLSData"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db0/classcv_1_1TLSData.html#a2314048543cb22e35188d0638c2b029b">get</a> () const</td></tr>
<tr class="memdesc:a2314048543cb22e35188d0638c2b029b inherit pub_methods_classcv_1_1TLSData"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get data associated with key.  <a href="../../d9/db0/classcv_1_1TLSData.html#a2314048543cb22e35188d0638c2b029b">More...</a><br /></td></tr>
<tr class="separator:a2314048543cb22e35188d0638c2b029b inherit pub_methods_classcv_1_1TLSData"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dc1b69ad91e20f63177fe0d3ae22771 inherit pub_methods_classcv_1_1TLSData"><td class="memItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db0/classcv_1_1TLSData.html#a6dc1b69ad91e20f63177fe0d3ae22771">getRef</a> () const</td></tr>
<tr class="memdesc:a6dc1b69ad91e20f63177fe0d3ae22771 inherit pub_methods_classcv_1_1TLSData"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get data associated with key.  <a href="../../d9/db0/classcv_1_1TLSData.html#a6dc1b69ad91e20f63177fe0d3ae22771">More...</a><br /></td></tr>
<tr class="separator:a6dc1b69ad91e20f63177fe0d3ae22771 inherit pub_methods_classcv_1_1TLSData"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a8a87f686dd972d52b815759379e87c6f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#a8a87f686dd972d52b815759379e87c6f">_cleanupDetachedData</a> ()</td></tr>
<tr class="separator:a8a87f686dd972d52b815759379e87c6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af58261968217fca51f73106487653d66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#af58261968217fca51f73106487653d66">_cleanupTerminatedData</a> ()</td></tr>
<tr class="separator:af58261968217fca51f73106487653d66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08015abe3d6199e847e5bc23e2080f12"><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#a08015abe3d6199e847e5bc23e2080f12">createDataInstance</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:a08015abe3d6199e847e5bc23e2080f12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper to allocate data by template.  <a href="#a08015abe3d6199e847e5bc23e2080f12">More...</a><br /></td></tr>
<tr class="separator:a08015abe3d6199e847e5bc23e2080f12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accf3a284d5358bcd39aab9df897fa206"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#accf3a284d5358bcd39aab9df897fa206">deleteDataInstance</a> (void *pData) const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a></td></tr>
<tr class="memdesc:accf3a284d5358bcd39aab9df897fa206"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper to release data by template.  <a href="#accf3a284d5358bcd39aab9df897fa206">More...</a><br /></td></tr>
<tr class="separator:accf3a284d5358bcd39aab9df897fa206"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcv_1_1TLSDataContainer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcv_1_1TLSDataContainer')"><img src="../../closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html">cv::TLSDataContainer</a></td></tr>
<tr class="memitem:a822517e9fa810fb1278b6745b666e670 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#a822517e9fa810fb1278b6745b666e670">TLSDataContainer</a> ()</td></tr>
<tr class="separator:a822517e9fa810fb1278b6745b666e670 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af82bae531c9816f2891d8019108e7bdd inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#af82bae531c9816f2891d8019108e7bdd">~TLSDataContainer</a> ()</td></tr>
<tr class="separator:af82bae531c9816f2891d8019108e7bdd inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a218e191c933c04e57c3f05b6525c9800 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#a218e191c933c04e57c3f05b6525c9800">detachData</a> (std::vector&lt; void *&gt; &amp;data)</td></tr>
<tr class="memdesc:a218e191c933c04e57c3f05b6525c9800 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">get TLS data and detach all data from threads (similar to <a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#a60db91833dbbbcb7d3406b819de3b272" title="Release created TLS data container objects. It is similar to release() call, but it keeps TLS contain...">cleanup()</a> call)  <a href="../../df/d21/classcv_1_1TLSDataContainer.html#a218e191c933c04e57c3f05b6525c9800">More...</a><br /></td></tr>
<tr class="separator:a218e191c933c04e57c3f05b6525c9800 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a994d1b68e3b63526b7f131f193af4f inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#a4a994d1b68e3b63526b7f131f193af4f">gatherData</a> (std::vector&lt; void *&gt; &amp;data) const</td></tr>
<tr class="separator:a4a994d1b68e3b63526b7f131f193af4f inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace0bad31d5b53059247d6fa3070fc3a0 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#ace0bad31d5b53059247d6fa3070fc3a0">getData</a> () const</td></tr>
<tr class="separator:ace0bad31d5b53059247d6fa3070fc3a0 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8c2c374fb21c3bf8421e28290df3630 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#af8c2c374fb21c3bf8421e28290df3630">release</a> ()</td></tr>
<tr class="separator:af8c2c374fb21c3bf8421e28290df3630 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60db91833dbbbcb7d3406b819de3b272 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#a60db91833dbbbcb7d3406b819de3b272">cleanup</a> ()</td></tr>
<tr class="memdesc:a60db91833dbbbcb7d3406b819de3b272 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release created TLS data container objects. It is similar to <a class="el" href="../../df/d21/classcv_1_1TLSDataContainer.html#af8c2c374fb21c3bf8421e28290df3630">release()</a> call, but it keeps TLS container valid.  <a href="../../df/d21/classcv_1_1TLSDataContainer.html#a60db91833dbbbcb7d3406b819de3b272">More...</a><br /></td></tr>
<tr class="separator:a60db91833dbbbcb7d3406b819de3b272 inherit pro_methods_classcv_1_1TLSDataContainer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class cv::TLSDataAccumulator&lt; T &gt;</h3>

<p>TLS data accumulator with gathering methods. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a301bbde7e15b617b722fb344183734df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a301bbde7e15b617b722fb344183734df">&#9670;&nbsp;</a></span>TLSDataAccumulator()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::<a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">TLSDataAccumulator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aae14fd5735f3280daeef7e1d6ae6c533"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae14fd5735f3280daeef7e1d6ae6c533">&#9670;&nbsp;</a></span>~TLSDataAccumulator()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::~<a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">TLSDataAccumulator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8a87f686dd972d52b815759379e87c6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a87f686dd972d52b815759379e87c6f">&#9670;&nbsp;</a></span>_cleanupDetachedData()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::_cleanupDetachedData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af58261968217fca51f73106487653d66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af58261968217fca51f73106487653d66">&#9670;&nbsp;</a></span>_cleanupTerminatedData()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::_cleanupTerminatedData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3fe56df89fa57f6e7c9becf6d15a3454"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fe56df89fa57f6e7c9becf6d15a3454">&#9670;&nbsp;</a></span>cleanup()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::cleanup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Release associated thread data. </p>

</div>
</div>
<a id="a80211de7cf66b22d5408cbe873f7ffe2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80211de7cf66b22d5408cbe873f7ffe2">&#9670;&nbsp;</a></span>cleanupDetachedData()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::cleanupDetachedData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Release associated thread data returned by <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#aa40ccce3dca12ada46d0f02d99866690" title="Get and detach data from all threads. ">detachData()</a> call. </p>

</div>
</div>
<a id="a08015abe3d6199e847e5bc23e2080f12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08015abe3d6199e847e5bc23e2080f12">&#9670;&nbsp;</a></span>createDataInstance()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void* <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::createDataInstance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Wrapper to allocate data by template. </p>

<p>Reimplemented from <a class="el" href="../../d9/db0/classcv_1_1TLSData.html#a214a5c797bf1aa889e81430dcfea596b">cv::TLSData&lt; T &gt;</a>.</p>

</div>
</div>
<a id="accf3a284d5358bcd39aab9df897fa206"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accf3a284d5358bcd39aab9df897fa206">&#9670;&nbsp;</a></span>deleteDataInstance()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::deleteDataInstance </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>pData</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Wrapper to release data by template. </p>

<p>Reimplemented from <a class="el" href="../../d9/db0/classcv_1_1TLSData.html#a6a197810db6d03c4397ee203eb9a2fad">cv::TLSData&lt; T &gt;</a>.</p>

</div>
</div>
<a id="aa40ccce3dca12ada46d0f02d99866690"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa40ccce3dca12ada46d0f02d99866690">&#9670;&nbsp;</a></span>detachData()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;T*&gt;&amp; <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::detachData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get and detach data from all threads. </p>
<p>Call <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#a80211de7cf66b22d5408cbe873f7ffe2" title="Release associated thread data returned by detachData() call. ">cleanupDetachedData()</a> when returned vector is not needed anymore.</p>
<dl class="section return"><dt>Returns</dt><dd>Vector with associated data. Content is preserved (including lifetime of attached data pointers) until next <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#aa40ccce3dca12ada46d0f02d99866690" title="Get and detach data from all threads. ">detachData()</a>/cleanupDetachedData()/cleanup()/release() calls </dd></dl>

</div>
</div>
<a id="a1b5d6a81bfbf9135c75babed35ad68ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b5d6a81bfbf9135c75babed35ad68ff">&#9670;&nbsp;</a></span>gather()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::gather </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; T *&gt; &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get data from all threads. </p>
<dl class="deprecated"><dt><b><a class="el" href="../../da/d58/deprecated.html#_deprecated000036">Deprecated:</a></b></dt><dd>replaced by <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#aa40ccce3dca12ada46d0f02d99866690" title="Get and detach data from all threads. ">detachData()</a></dd></dl>
<p>Lifetime of vector data is valid until next <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html#aa40ccce3dca12ada46d0f02d99866690" title="Get and detach data from all threads. ">detachData()</a>/cleanup()/release() calls</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">data</td><td>result buffer (should be empty) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa3e2204675be100726e6088d8e34214a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3e2204675be100726e6088d8e34214a">&#9670;&nbsp;</a></span>release()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/d6e/classcv_1_1TLSDataAccumulator.html">cv::TLSDataAccumulator</a>&lt; T &gt;::release </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Release associated thread data and free TLS key. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/core/utils/<a class="el" href="../../d0/d96/tls_8hpp.html">tls.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:43 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
